﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace LCA.Community.DAL.Model
{
    /// <summary>
    /// User avatar.
    /// </summary>
    public class UserAvatar : Avatar
    {
        /// <summary>
        /// Constant containing the name of the container for users avatars.
        /// </summary>
        public const string UsersContainer = "useravatars";

        /// <summary>
        /// Initializes a new instance of the <see cref="UserAvatar"/> class.
        /// </summary>
        public UserAvatar()
        {

        }

        /// <summary>
        /// Initializes a new instance of the <see cref="UserAvatar"/> class.
        /// </summary>
        /// <param name="userName">Name of the user.</param>
        /// <param name="url">The URL.</param>
        /// <param name="contentType">Type of the content.</param>
        /// <param name="stream">The stream.</param>
        public UserAvatar(string userName, Uri url, string contentType, Stream stream)
            :base(userName,url,contentType,stream,UsersContainer)
        {}
    }
}
